﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace University.Workshop.DataAccess
{
    public class DataAccessPayment
    {
        public static void RegisterPayment(Model.Payment payment)
        {
            WFPEntities.Instance.DiscardChanges();
            WFPEntities.Instance.Payment.Add(payment);
            WFPEntities.Instance.SaveChanges();
        }
    }
}
